﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="book_tabs.ascx.cs" Inherits="huaguwang.virtualWeb.uc.book.book_tabs" %>
<div id="AD_out" class="border_gray padding_b_10">
    <span class="font_lh_30 padding_l_10">当前位置：首页→书籍</span> <span>
        <img class="margin_l_10" src="/images/AD_sub_index.gif" /></span>
</div>

<script language="javascript" type="text/javascript">
    //点击页签进行切换
    function tabsClick(o) {
        var $t = $(o);
        $("#recommend_tab li").attr("class", "norm");
        $t.attr("class", "curr");
        $("#recommend_content > div").attr("class", "undis");
        $("#" + $t.attr("alt")).attr("class", "dis");
    }

    $(function() {
        $("#recommend_tab li").click(function() {
            tabsClick(this);
        });
    });
</script>

<div class="margin_t_10">
    <div id="recommend_left">
    </div>
    <div id="recommend_tabs">
        <ul id="recommend_tab">
            <li class="curr" alt="r1">最热门书籍</li>
            <li class="norm" alt="r2">推荐书籍</li>
            <li class="norm" alt="r4">新书上架</li>
        </ul>
    </div>
    <div id="recommend_right">
    </div>
    <div id="recommend_content" class="margin_t_10">
    <div id="r1" class="dis">
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <div class="content_horiz">
                    <img class="content_horiz_img" src="images/book/book_02.gif" />
                    <div class="content_horiz_font">
                        <span class="content_horiz_title"><a href="<%#Eval("classurl") %>" class="font_14"><font color="#cc3300">[<%#Eval("classname") %>]</font></a>
                            <a class="font_14 underline" href="<%#Eval("url") %>"><%#Eval("classname") %></a> </span>简介：<%#Eval("nr") %><br />
                        <img class="goal_img" src="images/goal.gif" />&nbsp;&nbsp;<font class="font_13" color="#cc3300"><b>9.2分</b></font><br />
                        浏览：<%#Eval("click") %>&nbsp;&nbsp;推荐：231
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div id="r2" class="undis">
        <asp:Repeater ID="Repeater2" runat="server">
            <ItemTemplate>
                <div class="content_loop">
                    <img class="content_loop_img" src="images/book/book_02.gif" />
                    <div class="content_loop_font">
                        <span class="content_loop_title"><a href="<%#Eval("classurl") %>" class="font_14"><font color="#cc3300">[<%#Eval("classname") %>]</font></a>
                            <a class="font_14 underline" href="<%#Eval("url") %>"><%#Eval("name") %></a><br />
                        </span><%#Eval("nr") %><br />
                        <img class="goal_img" src="images/goal.gif" />&nbsp;&nbsp;<font class="font_13" color="#cc3300"><b>9.2分</b></font><br />
                        <font class="font_gray">关注度：<font color="cc3300">↑</font>&nbsp;&nbsp; 推荐：<%#Eval("click") %></font>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div id="r3" class="undis">
        <asp:Repeater ID="Repeater3" runat="server">
            <ItemTemplate>
                <div class="content_horiz">
                    <img class="content_horiz_img" src="images/book/book_02.gif" />
                    <div class="content_horiz_font">
                        <span class="content_horiz_title"><font color="#cc3300" class="font_14">书名：</font><a
                            class="font_14 underline" href="<%#Eval("url") %>"><%#Eval("name") %></a><br />
                        </span>简介：<%#Eval("nr") %><br />
                        作者：张三丰<br />
                        上市时间：2011年3月15日
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        暂无
    </div>
    <div id="r4" class="undis">
        <asp:Repeater ID="Repeater4" runat="server">
            <ItemTemplate>
                <div class="content_horiz">
                    <img class="content_horiz_img" src="images/book/book_02.gif" />
                    <div class="content_horiz_font">
                        <span class="content_horiz_title"><font color="#cc3300" class="font_14">书名：</font><a
                            class="font_14 underline" href="<%#Eval("url") %>"><%#Eval("name") %></a><br />
                        </span>简介：<%#Eval("nr") %><br />
                        作者：张三丰<br />
                        上市时间：2011年3月15日
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</div>
</div>